<h1>Usuários</h1>

<table>
  <tr>
    <th>Nome</th>
    <th>CPF</th>
    <th>E-mail</th>
  </tr>

<% for user in @users %>
  <tr>
    <td><%=h(link_to user.name, edit_user_path(user)) %></td>
    <td><%=h(format_cpf user.cpf) %></td>
    <td><%=h user.email %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'Novo usuário', new_user_path %>
